// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Echo from 'laravel-echo'
import $ from  'jquery'


Vue.config.productionTip = false
window.io = require('socket.io-client')

//实例化 Echo
window.Echo = new Echo({
  broadcaster: 'socket.io',
  host: 'http://imws.fengpintech.com'
}); 

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
